-- GENERATED SPELL FOR [Scorchscale Drake] --


function spell0_23687(pUnit, Event) --@Flame Breath,n/a--
pUnit:FullCastSpellOnTarget(8873,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23687', 1700, 1)
end

function Sorts_23687(pUnit, Event)
local choix_sorts_23687 = math.random(0, 0)
if choix_sorts_23687 == 0 then
pUnit:RegisterEvent('spell0_23687', 1, 1)
end
end

function mob23687_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23687', math.random(1500, 3000), 1)
end

function mob23687_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23687_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23687_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(23687, 1, 'mob23687_Action')
RegisterUnitEvent(23687, 2, 'mob23687_Leave')
RegisterUnitEvent(23687, 3, 'mob23687_Kill')
RegisterUnitEvent(23687, 4, 'mob23687_Die')
